package com.lin.zoo.controller;

import com.lin.zoo.po.Messege;
import com.lin.zoo.service.ParkService;

public class ParkController {
    private ParkService parkService=new ParkService();//链接Service
    public Messege vPark(){return parkService.vPark();}//查看园区信息
    public void delPark(Object id){parkService.delPark(id);}//删除园区信息
    public void setName(Object id,String name){parkService.setName(id,name);}//修改名字
    public void setType(Object id,String type){parkService.setType(id,type);}//修改园区类型
    public void setIntroduce(Object id,String introduce){parkService.setIntroduce(id,introduce);}//修改园区介绍
    public void setArea(Object id,String area){parkService.setArea(id,area);}//修改园区面积
    public void setAddress(Object id,String address){parkService.setAddress(id,address);}//修改园区地址
    public void setStart(Object id,String startTime){parkService.setStart(id,startTime);}//修改开始时间
    public void setEnd(Object id,String endTime){parkService.setEnd(id,endTime);}//修改结束时间
    public void setStatus(Object id,String status){parkService.setStatus(id,status);}//修改开园状态

}
